class ColumnInfo{
  ColumnInfo(
      this.columnID,
      this.tableID,
      this.columnName,
      this.columnType,
      this.columnKind
      );

  int? columnID;
  int tableID;
  String columnName;
  String columnType;
  String columnKind;

  ColumnInfo.fromJson(Map<String, dynamic> json)
      : columnID=json['column_id'],
        tableID= json['table_id'],
        columnName = json['column_name'],
        columnType = json['column_type'],
        columnKind = json['column_kind'];


  Map<String, Object?> toMap()=> {
    'column_id':columnID,
    'table_id':tableID,
    'column_name':columnName,
    'column_type':columnType,
    'column_kind':columnKind
  };

}